package com.jprocms.module.cms.controller.admin.content.relatevo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 相关内容 排序vo
 */
@Data
public class ContentRelateSortVO {

    @Schema(description = "ID", required = true)
    @NotNull(message = "ID不能为空")
    private Long id;

    @Schema(description = "排序增长", required = true)
    @NotNull(message = "排序增长至 1 上移 -1下移")
    private Integer incre;

    @Schema(description = "排序当前顺序", required = true)
    @NotNull(message = "排序顺序")
    private Integer currIndex;
}
